package cn.wolfcode.shop.cloud.service.impl;

import cn.wolfcode.shop.cloud.mapper.SeckillOrderMapper;
import cn.wolfcode.shop.cloud.service.ISeckillOrder;
import cn.wolfode.shop.cloud.domain.SeckillOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SeckillOrderImpl implements ISeckillOrder {

    @Autowired
    private SeckillOrderMapper seckillOrderMapper;

    @Override
    public SeckillOrder querySeckillOrder(Long seckillId, Long id) {
        return seckillOrderMapper.querySeckillOrder(seckillId,id);
    }
}
